//
//  GLAnimation.cpp
//  Texture
//
//  Created by Yao Melo on 3/2/13.
//
//

#include "GLAnimation.h"

bool GLAnimation::GetTransform(MATRIX& mOut, double timestamp)
{
    if(_start<0)
    {
        MatrixIdentity(mOut);
        return false;
    }
    else
    {
        this->GetTransformTemplate(mOut, timestamp);
        return true;
    }
}

void GLAnimation::Start(double startTime)
{
    _start = startTime;
}
